import axios from '@/api/api.request'
/* cms内容 */
// 获取列表
export const CmsContentListIndex = (info) => {
  return axios.request({
    url: '/CmsContentList/index',
    params: info,
    method: 'get'
  })
}
// 删除
export const CmsContentListDel = (info) => {
  return axios.request({
    url: '/CmsContentList/del',
    params: info,
    method: 'get'
  })
}
// 新增
export const CmsContentListAdd = (info) => {
  return axios.request({
    url: '/CmsContentList/add',
    data: info,
    method: 'post'
  })
}
// 编辑
export const CmsContentListEdit = (info) => {
  return axios.request({
    url: '/CmsContentList/edit',
    data: info,
    method: 'post'
  })
}
// 详情
export const CmsContentListDetail = (info) => {
  return axios.request({
    url: '/CmsContentList/detail',
    params: info,
    method: 'get'
  })
}
// 检查状态
export const CmsContentListChangeStatus = (info) => {
  return axios.request({
    url: '/CmsContentList/changeStatus',
    params: info,
    method: 'get'
  })
}
// 归档
export const CmsContentListArchive = (info) => {
  return axios.request({
    url: '/CmsContentList/archive',
    params: info,
    method: 'get'
  })
}
// 栏目列表 end
